// PropertyComboWindow.h: interface for the PropertyComboWindow class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PROPERTYCOMBOWINDOW_H__C6D17235_3717_4AF7_99A4_0656A6BF77D5__INCLUDED_)
#define AFX_PROPERTYCOMBOWINDOW_H__C6D17235_3717_4AF7_99A4_0656A6BF77D5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "PropertySubWindow.h"

namespace pa
{
	class DllExport PropertyComboWindow : public PropertySubWindow  
	{
		class CComboBoxEX : public CComboBox
	{
		// Construction
	public:
		CComboBoxEX();
		
		// Attributes
	public:
		
		// Operations
	public:
		
		// Overrides
		// ClassWizard generated virtual function overrides
		//{{AFX_VIRTUAL(CComboBoxEX)
		//}}AFX_VIRTUAL
		
		// Implementation
	public:
		virtual ~CComboBoxEX();
		CustomVariable* m_pVar;
		PropertyComboWindow* m_pWnd;
		
		// Generated message map functions
	protected:
		//{{AFX_MSG(CComboBoxEX)
		afx_msg void OnSelchange();
		//}}AFX_MSG
		
		DECLARE_MESSAGE_MAP()
	};

	public:
		PropertyComboWindow();
		virtual ~PropertyComboWindow();

	public:
    	virtual void UpdatePropertyData(BOOL bState = TRUE);
     	virtual BOOL Create(CWnd* pParent, UINT nID);
    	virtual void SetFont(CFont* pFont);

    private:
     	CComboBoxEX m_ComboBox;

	};
};
#endif // !defined(AFX_PROPERTYCOMBOWINDOW_H__C6D17235_3717_4AF7_99A4_0656A6BF77D5__INCLUDED_)
